#include "remark.h"

//构造函数
Remark::Remark(int _book_id,int _reader_id,const char* buf)
{
	book_id = _book_id;
	reader_id = _reader_id;
	strcpy(this->buf,buf);
}
//获取书名的ID
int Remark::GetBookId(void)
{
	return book_id;
}
//获取读者的ID
int Remark::GetReaderId(void)
{
	return reader_id;
}
char* Remark::GetBuf(void)
{
	return buf;
}
